export const elementConfig = [
  {
    render: 'elementUI',
    category: 'chart.chart_type_table',
    value: 'table-element',
    title: 'chart.chart_table_info',
    icon: 'table-info',
    properties: [
      'size-selector-element-ui',
      'field-selector-element-ui',
      'title-selector-ant-v'
    ],
    propertyInner: {
      'field-selector-element-ui': [],
      'size-selector-element-ui': [
        'tablePageMode',
        'tablePageSize',
        'tableTitleFontSize',
        'tableItemFontSize',
        'tableHeaderAlign',
        'tableItemAlign',
        'tableTitleHeight',
        'tableItemHeight',
        'tableColumnMode',
        'showIndex',
        'indexLabel',
        'stripe',
        'border',
        'elTableHeaderStyle'
      ],
      'title-selector-ant-v': [
        'show',
        'title',
        'fontSize',
        'color',
        'hPosition',
        'isItalic',
        'isBolder',
        'remarkShow',
        'fontFamily',
        'letterSpace',
        'fontShadow'
      ]
    }
  },
  {
    render: 'elementUI',
    category: 'chart.chart_type_table',
    value: 'table-element-list',
    title: 'chart.chart_table_list',
    icon: 'table-info',
    properties: [
      'size-selector-element-ui',
      'field-selector-element-ui',
      'title-selector-ant-v'
    ],
    propertyInner: {
      'field-selector-element-ui': [],
      'size-selector-element-ui': [
        'tablePageMode',
        'tablePageSize',
        'tableTitleFontSize',
        'tableItemFontSize',
        'tableHeaderAlign',
        'tableItemAlign',
        'tableTitleHeight',
        'tableItemHeight',
        'tableColumnMode',
        'showIndex',
        'indexLabel',
        'stripe',
        'border',
        'elTableHeaderStyle'
      ],
      'title-selector-ant-v': [
        'show',
        'title',
        'fontSize',
        'color',
        'hPosition',
        'isItalic',
        'isBolder',
        'remarkShow',
        'fontFamily',
        'letterSpace',
        'fontShadow'
      ]
    }
  },
  {
    render: 'elementUI',
    category: 'chart.chart_type_table',
    value: 'table-element-custom',
    title: 'chart.chart_table_custom',
    icon: 'table-info',
    properties: [
      'title-selector-ant-v'
    ],
    propertyInner: {
      'title-selector-ant-v': [
        'show',
        'title',
        'fontSize',
        'color',
        'hPosition',
        'isItalic',
        'isBolder',
        'remarkShow',
        'fontFamily',
        'letterSpace',
        'fontShadow'
      ]
    }
  }
]
